Q3QuaternionTransform_New
You can use theQ3QuaternionTransform_New
function to create a new quaternion transform.
TQ3TransformObject Q3QuaternionTransform_New ( TQ3Quaternion *quaternion);
quaternion
- A quaternion.
DESCRIPTION
TheQ3QuaternionTransform_New
function returns, as its function result, a reference to a new transform object of typekQ3TransformTypeQuaternion
using the data passed in thequaternion
parameter. The data you pass in thequaternion
parameter is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures,Q3QuaternionTransform_New
returns the valueNULL
.